package cn.topcodes.tcsf.app.service;

import cn.topcodes.tcsf.app.domain.form.AppAboutSettings;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by Unicorn on 2017/10/3.
 */
public interface AppSettingsService {
    /*APP关于信息-公司名称*/
    String APP_SETTINGS_ABOUT_COMPANY_NAME = "APP_SETTINGS_ABOUNT_COMPANY_NAME";
    /*APP关于信息-公司电话*/
    String APP_SETTINGS_ABOUT_COMPANY_TEL = "APP_SETTINGS_ABOUT_COMPANY_TEL";
    /*APP关于信息-公司地址*/
    String APP_SETTINGS_ABOUT_COMPANY_ADDRESS = "APP_SETTINGS_ABOUT_COMPANY_ADDRESS";
    /*APP关于信息-公司邮箱*/
    String APP_SETTINGS_ABOUT_COMPANY_EMAIL = "APP_SETTINGS_ABOUT_COMPANY_EMAIL";
    /*APP关于信息-公司主页*/
    String APP_SETTINGS_ABOUT_COMPANY_URL = "APP_SETTINGS_ABOUT_COMPANY_URL";

    AppAboutSettings getAppAboutSettings();

    @Transactional(readOnly = false)
    void setAppAboutSettings(AppAboutSettings settings);
}
